var ctx = "/" + location.pathname.split("/")[1];
var param = function() {
	var param = {};
	var search = window.location.search;

	if (!search || search.length < 2)
		return param;

	var keyValues = search.substring(1).split("&");

	for (var i = 0; i < keyValues.length; i++) {
		var kv = keyValues[i].split("=");
		param[kv[0]] = kv.length > 1 ? kv[1] : "";
	}
	return param;
};
var transfer = function(data){
	return data.replace(/\(/g, "[").replace(/\)/g, "]");
}
juicer.register('transfer', transfer);